#ifndef _INPUT_STUFF_
#define _INPUT_STUFF_

#define STR_VALUE_LENGTH 	256

typedef enum {
	DEC,
	HEX,
	STR,
	MRK,
	UDF,
} argu_t;

typedef struct {
	const char *fixed;
	char str[STR_VALUE_LENGTH];
	argu_t t;	
	void *value;
	int filled;
	const char *helpMsg;
} input_argu_t;


extern int read_input_stuff(int argc, char **argv, input_argu_t *table, const char head);


int isThatReady(const char *fixed, input_argu_t *table, input_argu_t **id);
int catchInput(int argc, char **argv, input_argu_t *table, const char head);
void unlatchInput(input_argu_t *table);

/****************************************************************************************
arguments table example

int vid_is_filled;
int uid_is_filled;

static input_argu_t input_var_table[] = {
	"vid", "", HEX, &USB_VID, &vid_is_filled,
	"uid", "", HEX, &USB_UID, &uid_is_filled,
	NULL, 	"", UDF, NULL, 0,
};
****************************************************************************************/

#endif

